<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
赶快看一下，好像定到一张票！
<script>
    function CloseWebPage(){
         if (navigator.userAgent.indexOf("MSIE") > 0) {
          if (navigator.userAgent.indexOf("MSIE 6.0") > 0) {
           window.opener = null;
           window.close();
          } else {
           window.open('', '_top');
           window.top.close();
          }
         }
         else if (navigator.userAgent.indexOf("Firefox") >= 0  || navigator.userAgent.indexOf("Chrome") !=-1) {
          window.location.href = 'about:blank ';
          window.close();
         } else {
          window.opener = null;
          window.open('', '_self', '');
          window.close();
         }
}
    setTimeout(function(){
        console.log("timeout in");
        window.close();
    }, 2000);
</script>
</body>
</html>